package cn.gdut.chengcai.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.CourseLessonInfo;
import cn.gdut.chengcai.entity.CourseLessonInfoExample;

public interface CourseLessonInfoService {
	long countByExample(CourseLessonInfoExample example);

	int deleteByExample(CourseLessonInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(CourseLessonInfo record);

	int insertSelective(CourseLessonInfo record);

	List<CourseLessonInfo> selectByExample(CourseLessonInfoExample example);

	CourseLessonInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") CourseLessonInfo record,
			@Param("example") CourseLessonInfoExample example);

	int updateByExample(@Param("record") CourseLessonInfo record, @Param("example") CourseLessonInfoExample example);

	int updateByPrimaryKeySelective(CourseLessonInfo record);

	int updateByPrimaryKey(CourseLessonInfo record);

}